package com.hakim.wfb.dao;

import com.hakim.wfb.bean.UserLoginLog;
import com.hkfs.fundamental.database.DaoBase;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserLoginLogDao extends DaoBase<UserLoginLog, Long> {

    /**
     * @param userLoginLog
     * @return
     */
//    List<UserLoginLogView> queryViewList(UserLoginLog userLoginLog);

    /**
     * 查询用户今天登陆次数
     *
     * @param userId
     * @param status
     * @return
     */
    //int countTodayLoginNum(@Param("userId") Long userId, @Param("status") Integer status);
}
